package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.bean.vo.mbd.MbdBalanceRateDataResVo;
import com.zmj.sy.mom.srv.aps.bean.vo.mbd.group.MbdBalanceRateOfGroupResVo;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

@Comment("生产平衡率统计数据")
@Getter
@Setter
@TableName("tb_mbd_balance_rate_data")
public class MbdBalanceRateData extends BaseEntity {

    @Comment("MBD订单ID")
    private Integer orderId;

    @Comment("名称")
    private String name;

    @Comment("订单数量")
    private Integer orderQty;

    @Comment("生产线平衡率数据")
    private String dataPro;

    @Comment("生产线平衡率数据")
    @TableField(exist = false)
    private MbdBalanceRateDataResVo pro;

    @Comment("生产线平衡率数据 -- 工作组维度")
    @TableField(exist = false)
    private MbdBalanceRateOfGroupResVo.BalanceRateData proOfGroup;

    @Comment("自定义平衡率数据")
    private String dataCustomize;

    @Comment("平衡率计算维度，1工序2工作组")
    private Integer dimensionType;
}
